package csel.model.items;

import csel.model.CharacterStats;

public class GatorHat extends Helmet
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6L;
	private double intellectBonus = 2.0;
	public GatorHat()
	{
		super("gator hat", "This cap virtually screams Go Gators!", 63, "gatorhat");
	}
	public int applyBonus(CharacterStats cs, int value)
	{
		if(cs == CharacterStats.Intellect)
		{
			return((int)(value * intellectBonus));
		}
		else
		{
			return(value);
		}
	}
}
